package com.gperp.mapper;

import com.gperp.pojo.AsRolePremission;
import com.gperp.pojo.AsRolePremissionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AsRolePremissionMapper {
    int countByExample(AsRolePremissionExample example);

    int deleteByExample(AsRolePremissionExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AsRolePremission record);

    int insertSelective(AsRolePremission record);

    List<AsRolePremission> selectByExample(AsRolePremissionExample example);

    AsRolePremission selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AsRolePremission record, @Param("example") AsRolePremissionExample example);

    int updateByExample(@Param("record") AsRolePremission record, @Param("example") AsRolePremissionExample example);

    int updateByPrimaryKeySelective(AsRolePremission record);

    int updateByPrimaryKey(AsRolePremission record);
}